package com.woniu.job.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author song
 * @since 2019-12-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Admin对象", description="管理员账户")
public class Admin implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    private String account;

    private String password;

    private String status;

    public Admin id(String id)
    {
        this.id = id;
        return this;
    }

    public Admin account(String account)
    {
        this.account = account;
        return this;
    }

    public Admin password(String password)
    {
        this.password = password;
        return this;
    }

    public Admin status(String status)
    {
        this.status = status;
        return this;
    }
}
